import { postReqJSON, type DataResult } from "@/utils/http/purehttputil.ts";
//**登录**//
export const loginUser = (jsondata?: object) => {
    const dataResult: DataResult = {
        content: jsondata
    };
    return postReqJSON("/sky/users/login", dataResult);
};
//**音乐列表**//
/**曲谱查询**/
export const getAllMusic = (dataResult?: DataResult) => {
  return postReqJSON("/sky/music/getAllMusic", dataResult);
};
/**单条曲谱数据**/
export const getMusicById = (jsondata?: object) => {
  const dataResult: DataResult = {
    content: jsondata
  };
  return postReqJSON("/sky/music/getMusicById", dataResult);
};